package code._17annotation._03user;

public class Demo {
    @MyAnno5("admin")
    @MyAnno4(att = {"aa","bb","cc"})
    @MyAnno3
    @MyAnno2(att2 = "ls")
    @MyAnno1(att1 = 1,att2 = "zs")
    public static void m1() {

    }
}
@interface MyAnno1{
    int att1();
    String att2();
}


@interface MyAnno2{
    int att1() default 0;
    String att2();
}


@interface MyAnno3{
    int att1() default 0;
    String att2() default "";
}


@interface MyAnno4{
    String[] att();
}


@interface MyAnno5{
    // String value() default null;  // 不能为null
    String value();
}